﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using Dal;


namespace Bll
{
   
    public class ReMenuBLL
    {
        ReMenuDAL dal = new ReMenuDAL();
        #region 显示推荐套餐
        /// <summary>
        /// 显示推荐套餐
        /// </summary>
        /// <returns></returns>
        public List<ReMenu> ReMenushow()
        {
            return dal.ReMenushow();

        }
        #endregion

        #region 添加推荐套餐
        /// <summary>
        /// 添加推荐套餐
        /// </summary>
        /// <param name="n"></param>
        /// <returns></returns>
        public int AddReMenu(int Reid, string Rename, string Rephoto, string Redescrib, int Reprice)
        {
            return dal.AddReMenu(Reid, Rename, Rephoto,Redescrib, Reprice);
        }

        #endregion

        #region 删除今日推荐
        /// <summary>
        /// 删除今日推荐
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public int delReMenu()
        {
            return dal.delReMenu();
        }

        #endregion

    }
}
